package com.jshx.sz.gdjt.thread.data;

import java.util.ArrayList;
import java.util.HashMap;

public class DataProUtil {

	public static String LocalMapToServerString(HashMap map,String dataNumber) throws Exception
	{
		IDataCon dao=(IDataCon)Class.forName("com.jshx.sz.gdjt.thread.data.Data"+dataNumber).newInstance();
		return dao.LocalMapToServerString(map);
	}
	
	public static void proImg(String parentId, String key, ArrayList list,String dataNumber) throws Exception
	{
		IDataCon dao=(IDataCon)Class.forName("com.jshx.sz.gdjt.thread.data.Data"+dataNumber).newInstance();
		dao.proImg(parentId, key, list);
	}
}
